<meta http-equiv="Content-Type" content="text/html; charset=utf8"> 
<!--
这是实例，用法请参考 dawnDict.js
-->


<style>
#footer{text-align:center;}
</style>


<h1>dawnDict test: double click or select to get the word meaning.</h1>

<p>Heavy rains are expected to fall in a few weeks. Aid agencies are racing to shore up flimsy shelters and stabilize shaky terrain before the monsoon season begins. The U.N. refugee agency(UNHCR) says the work ahead is monumental but preparations are off to a better start this year than last.</p>

<p>That Hokusai employed the hue as the principal actor in his oceanic drama suggests that he was depicting Japan on the cusp of change. As much as the wave portends instability and danger, it also suggests possibility and adventure.</p>


<pre>
<b>网页划词翻译 使用方法：</b>
1.(难点)架构https php服务器;(如果要添加翻译的网页是http，则只需要http的php服务器即可);
2.到github下载dawnDict.php和dawnDict.js到构建的服务器;
3.修改js文件中的链接，确保ajax能访问到php文件;
4.把js文件的网络连接替换如下语句中的src部分；
5.chrome浏览器，F12键，点开console，输入如下一行js，并回车，当前网页就可以划词/双击翻译了。
(注意：如下url仅支持我自己电脑访问，一定要按照1-4步骤给出自己的url)。

var s=document.createElement("script");s.src="https://ielts.dawneve.cc/wordKing/dawnDict.js";document.body.append(s);

支持控制台查单词:
dawnDict.trans('good');
</pre>

<div id=footer>
	&copy;2019 拂晓词典 <a href="/en">dawnDict</a>
</div>




<script>
var s=document.createElement("script");s.src="https://ielts.dawneve.cc/wordKing/dawnDict.js";document.body.append(s);
</script>